﻿
namespace System.Linq.Functional
{
    public static class ActionEx
    {
        public static Action AsAction(Action action)
        {
            return action;
        }

        public static Action<T> AsAction<T>(Action<T> action)
        {
            return action;
        }

        public static Action<T1, T2> AsAction<T1, T2>(Action<T1, T2> action)
        {
            return action;
        }

        public static Action<T1, T2, T3> AsAction<T1, T2, T3>(Action<T1, T2, T3> action)
        {
            return action;
        }

        public static Action<T1, T2, T3, T4> AsAction<T1, T2, T3, T4>(Action<T1, T2, T3, T4> action)
        {            
            return action;
        }
    }
}
